package fun.codedesign.yinxue.code.php2java.rule.word;

public class ArrowWordRule implements WordRule {
    @Override
    public boolean isMatch(String originWord) {
        return "->".equals(originWord);
    }

    @Override
    public String invoke(String originWord) {
        return originWord.replace("->",".");
    }
}
